package com.zoffy.wmsbackend.model.dto.stock;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zoffy.wmsbackend.model.vo.stock.StockVO;
import lombok.Data;

@Data
public class StockQueryDTO {
    private int pageNum = 1;
    private int pageSize = 10;
    private String goodsCode;
    private String goodsName;
    private String warehouseCode;
    private String warehouseName;
    private Integer status;

    public Page<StockVO> toPage() {
        return new Page<>(pageNum, pageSize);
    }
}